/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.centerposition.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.centerposition.entity.CenterPosition;
import com.jeeplus.modules.centerposition.mapper.CenterPositionMapper;

/**
 * 积分中心持有商品Service
 * @author w
 * @version 2021-09-16
 */
@Service
@Transactional(readOnly = true)
public class CenterPositionService extends CrudService<CenterPositionMapper, CenterPosition> {

	public CenterPosition get(String id) {
		return super.get(id);
	}
	
	public List<CenterPosition> findList(CenterPosition centerPosition) {
		return super.findList(centerPosition);
	}
	
	public Page<CenterPosition> findPage(Page<CenterPosition> page, CenterPosition centerPosition) {
		return super.findPage(page, centerPosition);
	}
	
	@Transactional(readOnly = false)
	public void save(CenterPosition centerPosition) {
		super.save(centerPosition);
	}
	
	@Transactional(readOnly = false)
	public void delete(CenterPosition centerPosition) {
		super.delete(centerPosition);
	}
	
}